package com.th.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("goods")
public class Goods implements Serializable {
    private static final long serialVersionUID = 1486506494855824945L;

    @TableId(type = IdType.AUTO)
    private Long id;
    private int goodsnumber;
    private String name;
    private String vehicletype;
    private String unit;
    private double buyprice;
    private double sellprice;
    private Integer stock;
    private String supplier;
    private Date lasttime;
}
